﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
<%@ Import Namespace="GiaoXuLanTranh_MucVu.Models" %>
<% if (ViewData.ContainsKey(Header.Key))
   {
       Header header = ViewData[Header.Key] as Header;
       if (header != null)
       {
           if (!string.IsNullOrEmpty(header.PageHeader))
           {
%>
<h2>
    <%=header.PageHeader%>
</h2>
<%
}

           if (!string.IsNullOrEmpty(header.PageDescription))
           {
%>
<p id="page-intro">
    <%=header.PageDescription%>
</p>
<%
    }
       }
   }%>